package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

@Data
@ApiModel("好友请求实体")
public class UserFriendRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "发起者用户ID")
    private Integer userId;

    @ApiModelProperty(value = "接受者用户ID")
    private Integer toUserId;

    @ApiModelProperty(value = "类型[0=等待验证 1=同意(好友) 2=拒绝]")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "修改时间")
    private Long updateTime;
    
    @ApiModelProperty(value = "状态 1=正常 0=删除")
    private Integer status;

}